import { AllergicHistory, FertilityStatus, IllnessTime, LiverFunction, RenalFunction } from "@/enum";

/*快捷工具*/
export const tools = [
    { label: "我的问诊", path: "/consultRecord" },
    { label: "家庭档案", path: "/patient" },
    { label: "地址管理", path: "/address" },
    { label: "我的处方", path: "/" },
    { label: "我的评价", path: "/" },
    { label: "官方客服", path: "/" },
    { label: "设置", path: "/" },
];

/*性别*/
export const options = [
    { label: '男', value: 1 },
    { label: '女', value: 0 }
]

/*患病多久了*/
export const timeOptions = [
    { label: '一周内', value: IllnessTime.Week },
    { label: '一月内', value: IllnessTime.Month },
    { label: '半年内', value: IllnessTime.HalfYear },
    { label: '大于半年', value: IllnessTime.More }
]

/*是否去过医院*/
export const flagOptions = [
    { label: '就诊过', value: 1 },
    { label: '没就诊过', value: 0 }
]


/*肝功能*/
export const liverFunctionOptions = [
    { label: '正常', value: LiverFunction.Normal },
    { label: '异常', value: LiverFunction.Abnormal },
    { label: '不清楚', value: LiverFunction.Unclear }
]
/*肾功能*/
export const renalFunctionOptions = [
    { label: '正常', value: RenalFunction.Normal },
    { label: '异常', value: RenalFunction.Abnormal },
    { label: '不清楚', value: RenalFunction.Unclear }
]
/*过敏史*/
export const allergicHistoryOptions = [
    { label: '正常', value: AllergicHistory.Normal },
    { label: '异常', value: AllergicHistory.Abnormal },
    { label: '不清楚', value: AllergicHistory.Unclear }
]
/*生育状态及计划*/
export const fertilityStatusOptions = [
    { label: '无', value: FertilityStatus.No },
    { label: '备孕中', value: FertilityStatus.TryingToConceive },
    { label: '已怀孕', value: FertilityStatus.AlreadyPregnant },
    { label: '哺乳期中', value: FertilityStatus.Breastfeeding }
]
